package com.situ.spring.service.impl;

import com.situ.spring.dao.ICourseDAO;
import com.situ.spring.service.ICourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("courseService")
public class CourseServiceImpl implements ICourseService {

    @Resource(name = "courseDAO")
    private ICourseDAO courseDAO;

    @Override
    public void selectAll() {
        System.out.println("CourseServiceImpl.selectAll");
        courseDAO.selectAll();
    }
}
